Platform Explorer / Nuxeo Platform 11.4

Contribution org.nuxeo.runtime.metrics.default.contrib--reporter

This contribution is part of XML component org.nuxeo.runtime.metrics.default.contrib inside nuxeo-runtime-11.4.42.jar /opt/nuxeo/server/nxserver/config/metrics-config.xml

Extension Point

Extension point reporter of component MetricsService.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <reporter class="org.nuxeo.runtime.metrics.reporter.JmxReporter" enabled="true" name="jmx"/>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.GraphiteReporter" enabled="false" name="graphite" pollInterval="30">
          <option name="prefix"/>
          <option name="udp">false</option>
          <option name="host">graphite</option>
          <option name="port">2003</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.DatadogReporter" enabled="false" name="datadog" pollInterval="60">
          <option name="hostname"/>
          <option name="apiKey">********</option>
          <option name="udp">false</option>
          <option name="host">localhost</option>
          <option name="port">8125</option>
          <option name="tags">nuxeo</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.PrometheusReporter" enabled="false" name="prometheus">
          <option name="port">9090</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.JaegerReporter" enabled="false" name="jaeger">
          <option name="url"/>
          <option name="timeout">10s</option>
          <option name="maxAttributes">128</option>
          <option name="maxAnnotations">128</option>
          <option name="samplerProbability">0</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.ZipkinReporter" enabled="false" name="zipkin">
          <option name="url"/>
          <option name="timeout">10s</option>
          <option name="maxAttributes">128</option>
          <option name="maxAnnotations">128</option>
          <option name="samplerProbability">0</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.ZPageReporter" enabled="false" name="zpage">
          <option name="port">8887</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.DatadogTraceReporter" enabled="false" name="datadogTrace">
          <option name="url">http://localhost:8126/v0.3/traces</option>
          <option name="service">nuxeo</option>
          <option name="timeout">10s</option>
          <option name="maxAttributes">128</option>
          <option name="maxAnnotations">128</option>
          <option name="samplerProbability">0</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.StackdriverReporter" enabled="false" name="stackdriver" pollInterval="60">
          <option name="gcpProjectId"/>
          <option name="timeout">30s</option>
        </reporter>
  • <reporter class="org.nuxeo.runtime.metrics.reporter.StackdriverTraceReporter" enabled="false" name="stackdriverTrace">
          <option name="gcpProjectId"/>
          <option name="timeout">30s</option>
          <option name="maxAttributes">128</option>
          <option name="maxAnnotations">128</option>
          <option name="samplerProbability">0</option>
        </reporter>

XML Source

<?xml version='1.0' encoding='UTF-8'?>
<extension point="reporter" target="org.nuxeo.runtime.metrics.MetricsService">
    <reporter class="org.nuxeo.runtime.metrics.reporter.JmxReporter" enabled="true" name="jmx"/>

    <reporter class="org.nuxeo.runtime.metrics.reporter.GraphiteReporter" enabled="false" name="graphite" pollInterval="30">
      <option name="prefix"/>
      <option name="udp">false</option>
      <option name="host">graphite</option>
      <option name="port">2003</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.DatadogReporter" enabled="false" name="datadog" pollInterval="60">
      <option name="hostname"/>
      <option name="apiKey">********</option>
      <option name="udp">false</option>
      <option name="host">localhost</option>
      <option name="port">8125</option>
      <option name="tags">nuxeo</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.PrometheusReporter" enabled="false" name="prometheus">
      <option name="port">9090</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.JaegerReporter" enabled="false" name="jaeger">
      <option name="url"/>
      <option name="timeout">10s</option>
      <option name="maxAttributes">128</option>
      <option name="maxAnnotations">128</option>
      <option name="samplerProbability">0</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.ZipkinReporter" enabled="false" name="zipkin">
      <option name="url"/>
      <option name="timeout">10s</option>
      <option name="maxAttributes">128</option>
      <option name="maxAnnotations">128</option>
      <option name="samplerProbability">0</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.ZPageReporter" enabled="false" name="zpage">
      <option name="port">8887</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.DatadogTraceReporter" enabled="false" name="datadogTrace">
      <option name="url">http://localhost:8126/v0.3/traces</option>
      <option name="service">nuxeo</option>
      <option name="timeout">10s</option>
      <option name="maxAttributes">128</option>
      <option name="maxAnnotations">128</option>
      <option name="samplerProbability">0</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.StackdriverReporter" enabled="false" name="stackdriver" pollInterval="60">
      <option name="gcpProjectId"/>
      <option name="timeout">30s</option>
    </reporter>

    <reporter class="org.nuxeo.runtime.metrics.reporter.StackdriverTraceReporter" enabled="false" name="stackdriverTrace">
      <option name="gcpProjectId"/>
      <option name="timeout">30s</option>
      <option name="maxAttributes">128</option>
      <option name="maxAnnotations">128</option>
      <option name="samplerProbability">0</option>
    </reporter>

  </extension>